class Car{
Framework framework;
public Car(Framework framework){
    framework = framework;
    System.out.println("Car init");
}
}
class Framework{
Bottom bottom;
public Framework(Bottom bottom){
    bottom = bottom;
    System.out.println("Framework init");
}
}
class Bottom{
Tire tire;
public Bottom(Tire tire){
    tire = tire;
    System.out.println("Bottom init");
}
}
class Tire{
    int size;
    public Tire(int size){
        size = size;
        System.out.println("轮胎尺寸是+"+size);
    }
}
public class IOc {
    public static void main(String[] args) {
Tire tire = new Tire(20);
Bottom bottom = new Bottom(tire);
Framework framework = new Framework(bottom);
Car car = new Car(framework);
    }
}
